package com.ldgame.gfx.gfxelements;

import java.util.ArrayList;
import org.lwjgl.util.vector.Vector2f;
import org.newdawn.slick.Color;

public interface GfxComponent {
	public boolean add(GfxComponent component);
	public boolean remove(GfxComponent component);
	public GfxComponent getChild(int i);
	public ArrayList<GfxComponent> getComponents();
	public Vector2f getPosition();
	public float getWidth();
	public float getHeight();
	public Color getColor();
	
	public void setPosition(Vector2f position);
	public void setWidth(float width);
	public void setHeight(float height);
	public void setColor(Color color);
	
	public void render();
}
